<!DOCTYPE html>
<html>
<head>
    <title>志愿者档案</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <hook name="before_head_end"/>
</head>
<body class="page-index voluntMaDe">
<div class="container">
    <include file="public@nav"/>
    <div class="contents">
        <div class="activityDetail">
            <div class="title">
                <ul class="news-title">
                    <li class="title-item">志愿者档案信息</li>
                </ul>
            </div>
            <div class="box-cont">
                <table width="100%" cellpadding="2">
                    <tr>
                        <td align="center" class="tdColor">所属组织</td>
                        <td colspan="3"><foreach name="organize" id="vo">[{$vo.organize.name}]&nbsp;&nbsp;&nbsp;</foreach></td>
                        <td rowspan="5" width="97" class="tdColor">
                            <img src="{$info.avatar}">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" class="tdColor">昵称</td>
                        <td>{$info.user_nickname}</td>
                        <td align="center" class="tdColor">性别</td>
                        <td>{$sex[$info.sex]}</td>
                    </tr>
                    <tr>
                        <td align="center" class="tdColor">出生年月</td>
                        <td>{$info.birthday!=0?$info.birthday|date="Y-m-d":''}</td>
                        <td align="center" class="tdColor">政治面貌</td>
                        <td>{$info.more.politic|default=''}</td>
                    </tr>

                    <tr>

                        <td align="center" class="tdColor">编号</td>
                        <td>{$info.id}</td>
                        <td align="center" class="tdColor">社区</td>
                        <td>{$community}</td>
                    </tr>


                    <tr>
                        <td align="center" class="tdColor">手机</td>
                        <td >{$info.mobile}</td>
                        <td align="center" class="tdColor">注册时间</td>
                        <td>{$info.create_time|date="Y-m-d"}</td>
                    </tr>


                </table>
                <table border="1" width="100%" cellpadding="2">
                    <tr>
                        <td align="center" colspan="5" class="tdColor">牵手志愿服务活动记录（总时长 {$total_duration|s_to_h} 小时）</td>
                    </tr>
                    <tr>
                        <td align="center">时间</td>
                        <td align="center">地点</td>
                        <td align="center">活动</td>
                        <td align="center">服务时长（小时）</td>
                    </tr>
                    <foreach name="qians_log" id="vo">
                    <tr>
                        <td align="center">{$vo.start_time|date="Y-m-d H:i"}---{$vo.end_time|date="m-d H:i"}</td>
                        <td align="center">{$vo.place}</td>
                        <td align="center">{$vo.activity.title}</td>

                        <td align="center">{$vo.duration|s_to_h}</td>
                    </tr>
                        </foreach>
                </table>

                <table border="1" width="100%" cellpadding="2">
                    <tr>
                        <td align="center" colspan="5" class="tdColor">啄木鸟志愿服务活动记录（总次数 {$zhuom_log|count} 次）</td>
                    </tr>
                    <tr>
                        <td align="center">时间</td>
                        <td align="center">地点</td>
                        <td align="center">内容</td>
                    </tr>
                    <foreach name="zhuom_log" id="vo">
                    <tr>
                            <td align="center">{$vo.ctime|date="Y-m-d H:i"}</td>
                            <td align="center">{$vo.place}</td>
                            <td align="center">{$vo.content}</td>
                    </tr>
                    </foreach>
                </table>
            </div>
        </div>
        <div style="clear: both;"></div>
    </div>



    <include file="public@footer"/>
    <!-- /container -->
    <include file="public@scripts"/>
    <script>
        (function($){
            "use strict";

            $(function(){
                $('.layui-quote-nm li img').hover(function(){$(this).MaxScaleLarge()},function(){$(this).MaxScaleSmall()});
            })
        })(jQuery);

        //    layui
        layui.use(['laypage', 'layer'], function() {
            var laypage = layui.laypage
                    , layer = layui.layer;

        });
    </script>
    <hook name="before_body_end"/>
</body>
</html>